<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>在？在？ | Ysnsn博客</title><meta name="keywords" content="Markdown,Typora"><meta name="author" content="可爱的Wyang"><meta name="copyright" content="可爱的Wyang"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta http-equiv="Cache-Control" content="no-transform"><meta http-equiv="Cache-Control" content="no-siteapp"><meta name="description" content="心动的一天">
<meta property="og:type" content="article">
<meta property="og:title" content="在？在？">
<meta property="og:url" content="https://ysnsn.cn/xindong.html">
<meta property="og:site_name" content="Ysnsn博客">
<meta property="og:description" content="心动的一天">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://acg.yanwz.cn/wallpaper/api.php">
<meta property="article:published_time" content="2020-06-26T11:49:22.000Z">
<meta property="article:modified_time" content="2020-09-28T10:44:31.396Z">
<meta property="article:author" content="可爱的Wyang">
<meta property="article:tag" content="Markdown">
<meta property="article:tag" content="Typora">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://acg.yanwz.cn/wallpaper/api.php"><link rel="shortcut icon" href="/img/favicon.png"><link rel="canonical" href="https://ysnsn.cn/xindong.html"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.css"><script>var GLOBAL_CONFIG = { 
  root: '/',
  hexoversion: '5.0.0',
  algolia: undefined,
  localSearch: {"path":"search.xml","languages":{"hits_empty":"找不到您查询的内容：${query}"}},
  translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
  noticeOutdate: {"limitDay":50,"position":"top","messagePrev":"It has been","messageNext":"days since the last update, the content of the article may be outdated."},
  highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true},
  copy: {
    success: '复制成功',
    error: '复制错误',
    noSupport: '浏览器不支持'
  },
  relativeDate: {
    homepage: false,
    post: false
  },
  runtime: '天',
  date_suffix: {
    just: '刚刚',
    min: '分钟前',
    hour: '小时前',
    day: '天前',
    month: '个月前'
  },
  copyright: undefined,
  ClickShowText: undefined,
  lightbox: 'fancybox',
  Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#121212","position":"bottom-left"},
  justifiedGallery: {
    js: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/js/jquery.justifiedGallery.min.js',
    css: 'https://cdn.jsdelivr.net/npm/justifiedGallery/dist/css/justifiedGallery.min.css'
  },
  isPhotoFigcaption: true,
  islazyload: false,
  isanchor: false
};

var saveToLocal = {
  set: function setWithExpiry(key, value, ttl) {
    const now = new Date()
    const expiryDay = ttl * 86400000
    const item = {
      value: value,
      expiry: now.getTime() + expiryDay,
    }
    localStorage.setItem(key, JSON.stringify(item))
  },

  get: function getWithExpiry(key) {
    const itemStr = localStorage.getItem(key)

    if (!itemStr) {
      return undefined
    }
    const item = JSON.parse(itemStr)
    const now = new Date()

    if (now.getTime() > item.expiry) {
      localStorage.removeItem(key)
      return undefined
    }
    return item.value
  }
}</script><script id="config_change">var GLOBAL_CONFIG_SITE = { 
  isPost: true,
  isHome: false,
  isHighlightShrink: false,
  isSidebar: true,
  postUpdate: '2020-09-28 18:44:31'
}</script><noscript><style type="text/css">
  #nav {
    opacity: 1
  }
  .justified-gallery img {
    opacity: 1
  }

  #recent-posts time,
  #post-meta time {
    display: inline !important
  }
</style></noscript><script>(function () {
  window.activateDarkMode = function () {
    document.documentElement.setAttribute('data-theme', 'dark')
    if (document.querySelector('meta[name="theme-color"]') !== null) {
      document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
    }
  }
  window.activateLightMode = function () {
    document.documentElement.setAttribute('data-theme', 'light')
    if (document.querySelector('meta[name="theme-color"]') !== null) {
      document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
    }
  }

  const autoChangeMode = 'true'
  const t = saveToLocal.get('theme')
  if (autoChangeMode === '1') {
    const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches
    const isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
    const isNotSpecified = window.matchMedia('(prefers-color-scheme: no-preference)').matches
    const hasNoSupport = !isDarkMode && !isLightMode && !isNotSpecified

    if (t === undefined) {
      if (isLightMode) activateLightMode()
      else if (isDarkMode) activateDarkMode()
      else if (isNotSpecified || hasNoSupport) {
        const now = new Date()
        const hour = now.getHours()
        const isNight = hour <= 6 || hour >= 18
        isNight ? activateDarkMode() : activateLightMode()
      }
      window.matchMedia('(prefers-color-scheme: dark)').addListener(function (e) {
        if (saveToLocal.get('theme') === undefined) {
          e.matches ? activateDarkMode() : activateLightMode()
        }
      })
    } else if (t === 'light') activateLightMode()
    else activateDarkMode()
  } else if (autoChangeMode === '2') {
    const now = new Date()
    const hour = now.getHours()
    const isNight = hour <= 6 || hour >= 18
    if (t === undefined) isNight ? activateDarkMode() : activateLightMode()
    else if (t === 'light') activateLightMode()
    else activateDarkMode()
  } else {
    if (t === 'dark') activateDarkMode()
    else if (t === 'light') activateLightMode()
  }
})()</script><meta name="generator" content="Hexo 5.0.0"><link rel="alternate" href="/atom.xml" title="Ysnsn博客" type="application/atom+xml">
</head><body><div id="mobile-sidebar"><div id="menu_mask"></div><div id="mobile-sidebar-menus"><div class="mobile_author_icon"><img class="avatar-img" src="/img/avatar.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="mobile_post_data"><div class="mobile_data_item is-center"><div class="mobile_data_link"><a href="/archives/"><div class="headline">文章</div><div class="length_num">15</div></a></div></div><div class="mobile_data_item is-center">      <div class="mobile_data_link"><a href="/tags/"><div class="headline">标签</div><div class="length_num">26</div></a></div></div><div class="mobile_data_item is-center">     <div class="mobile_data_link"><a href="/categories/"><div class="headline">分类</div><div class="length_num">8</div></a></div></div></div><hr/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="/messageboard/"><i class="fa-fw fas fa-paper-plane"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友情链接</span></a></div><div class="menus_item"><a class="site-page" href="/mikutap/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></div><div class="menus_item"><a class="site-page" href="/bangumis/"><i class="fa-fw fas fa-cocktail"></i><span> 哔哩哔哩</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-inbox"></i><span> 基地</span><i class="fas fa-chevron-down expand hide"></i></a><ul class="menus_item_child"><li><a class="site-page" target="_blank" rel="noopener" href="https://ysnsn.herokuapp.com/"><i class="fa-fw fas fa-cloud-download-alt"></i><span> 网盘OM</span></a></li><li><a class="site-page" target="_blank" rel="noopener" href="http://tc.ysnsn.cn/"><i class="fa-fw fas fa-paper-plane"></i><span> 立即前往</span></a></li><li><a class="site-page" target="_blank" rel="noopener" href="http://zz.ysnsn.cn/"><i class="fa-fw fas fa-feather"></i><span> Donate</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-gavel"></i><span> 小应用</span><i class="fas fa-chevron-down expand hide"></i></a><ul class="menus_item_child"><li><a class="site-page" href="/silk/"><i class="fa-fw fas fa-signature"></i><span> 丝画silk</span></a></li><li><a class="site-page" href="/caidie/"><i class="fa-fw fas fa-bug"></i><span> 彩蝶</span></a></li><li><a class="site-page" href="/%E6%B6%B2%E4%BD%93/"><i class="fa-fw fas fa-bullseye"></i><span> 液体</span></a></li><li><a class="site-page" href="/smail/"><i class="fa-fw fas fa-democrat"></i><span> 笑脸滑稽</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 菜单</span><i class="fas fa-chevron-down expand hide"></i></a><ul class="menus_item_child"><li><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></li><li><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></li><li><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></li><li><a class="site-page" href="/gallery/"><i class="fa-fw fas fa-camera"></i><span> 相册</span></a></li><li><a class="site-page" href="/sc/"><i class="fa-fw fas fa-key"></i><span> 每日诗词</span></a></li><li><a class="site-page" href="/wysp/"><i class="fa-fw fas fa-fire"></i><span> 网易热评</span></a></li></ul></div></div></div></div><div id="body-wrap"><div id="sidebar"><i class="fas fa-arrow-right on" id="toggle-sidebar"></i><div class="sidebar-toc"><div class="sidebar-toc__title">目录</div><div class="sidebar-toc__progress"><span class="progress-notice">你已经读了</span><span class="progress-num">0</span><span class="progress-percentage">%</span><div class="sidebar-toc__progress-bar">     </div></div><div class="sidebar-toc__content"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#%F0%9F%98%98%E4%BB%8A%E5%A4%A9%E5%96%9D%E4%BA%86%E9%9B%AA%E7%A2%A7%EF%BC%8C%E5%90%83%E4%BA%86%E7%BB%B4%E7%94%9F%E7%B4%A0b%E5%8F%AF%E8%BF%98%E6%98%AF%E5%BF%98%E4%B8%8D%E4%BA%86%E4%BD%A0%E4%B8%AA%E5%82%BB%E7%A2%A7%E3%80%82"><span class="toc-number">1.</span> <span class="toc-text">😘今天喝了雪碧，吃了维生素b可还是忘不了你个傻碧。</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%F0%9F%98%9D%E4%BB%8A%E5%A4%A9%E5%96%9D%E4%BA%86%E8%84%89%E5%8A%A8%E5%95%8A%EF%BC%8C%E5%89%B2%E4%BA%86%E5%8A%A8%E8%84%89%E5%95%8A%EF%BC%8C%E7%84%B6%E5%90%8E%E4%B8%80%E5%8A%A8%E4%B8%8D%E5%8A%A8%E4%BA%86%E3%80%82"><span class="toc-number">2.</span> <span class="toc-text">😝今天喝了脉动啊，割了动脉啊，然后一动不动了。</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%F0%9F%A4%9E%E4%BB%8A%E5%A4%A9%E5%96%9D%E4%BA%86%E8%84%89%E5%8A%A8%E5%95%8A%EF%BC%8C%E5%90%83%E4%BA%86%E6%9E%9C%E5%86%BB%E5%95%8A%EF%BC%8C%E8%BF%98%E6%98%AF%E5%BF%8D%E4%B8%8D%E4%BD%8F%E5%AF%B9%E4%BD%A0%E5%BF%83%E5%8A%A8%E5%95%8A%E3%80%82"><span class="toc-number">3.</span> <span class="toc-text">🤞今天喝了脉动啊，吃了果冻啊，还是忍不住对你心动啊。</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%F0%9F%8E%AD%E6%AD%AA%E4%B8%8D%E6%98%AF%E5%90%A7%E4%BB%8A%E5%A4%A9%E7%9C%8B%E4%BA%86%E6%99%BA%E6%85%A7%E6%A0%91%E5%93%87%E5%90%83%E4%BA%86%E9%BA%A6%E4%B8%BD%E7%B4%A0%E5%93%87%E4%BD%86%E6%98%AF%E8%BF%98%E6%98%AF%E5%BF%8D%E4%B8%8D%E4%BD%8F%E6%8A%8A%E4%B8%AD%E6%8C%87%E5%AF%B9%E4%BD%A0%E7%AB%96%E5%95%8A"><span class="toc-number">4.</span> <span class="toc-text">🎭歪不是吧今天看了智慧树哇吃了麦丽素哇但是还是忍不住把中指对你竖啊.</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#Heroku-%E5%85%8D%E8%B4%B9%E5%AE%B9%E5%99%A8%E6%9C%8D%E5%8A%A1%E7%94%B3%E8%AF%B7%EF%BC%8C%E6%90%AD%E5%BB%BA-V2-CF-%E6%96%B9%E6%B3%95%E6%95%99%E7%A8%8B"><span class="toc-number">5.</span> <span class="toc-text">Heroku 免费容器服务申请，搭建 V2+CF 方法教程</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E4%BD%BF%E7%94%A8%E8%87%AA%E5%B7%B1%E7%9A%84-Live2d-%E7%9C%8B%E6%9D%BF%E5%A8%98"><span class="toc-number">6.</span> <span class="toc-text">使用自己的 Live2d 看板娘</span></a></li></ol></div></div></div><header class="post-bg" id="page-header" style="background-image: url(https://acg.yanwz.cn/wallpaper/api.php)"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">Ysnsn博客</a></span><span id="menus"><div id="search_button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><span> 搜索</span></a></div><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div><div class="menus_item"><a class="site-page" href="/messageboard/"><i class="fa-fw fas fa-paper-plane"></i><span> 留言板</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友情链接</span></a></div><div class="menus_item"><a class="site-page" href="/mikutap/"><i class="fa-fw fas fa-music"></i><span> 音乐</span></a></div><div class="menus_item"><a class="site-page" href="/bangumis/"><i class="fa-fw fas fa-cocktail"></i><span> 哔哩哔哩</span></a></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-inbox"></i><span> 基地</span><i class="fas fa-chevron-down expand hide"></i></a><ul class="menus_item_child"><li><a class="site-page" target="_blank" rel="noopener" href="https://ysnsn.herokuapp.com/"><i class="fa-fw fas fa-cloud-download-alt"></i><span> 网盘OM</span></a></li><li><a class="site-page" target="_blank" rel="noopener" href="http://tc.ysnsn.cn/"><i class="fa-fw fas fa-paper-plane"></i><span> 立即前往</span></a></li><li><a class="site-page" target="_blank" rel="noopener" href="http://zz.ysnsn.cn/"><i class="fa-fw fas fa-feather"></i><span> Donate</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-gavel"></i><span> 小应用</span><i class="fas fa-chevron-down expand hide"></i></a><ul class="menus_item_child"><li><a class="site-page" href="/silk/"><i class="fa-fw fas fa-signature"></i><span> 丝画silk</span></a></li><li><a class="site-page" href="/caidie/"><i class="fa-fw fas fa-bug"></i><span> 彩蝶</span></a></li><li><a class="site-page" href="/%E6%B6%B2%E4%BD%93/"><i class="fa-fw fas fa-bullseye"></i><span> 液体</span></a></li><li><a class="site-page" href="/smail/"><i class="fa-fw fas fa-democrat"></i><span> 笑脸滑稽</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="javascript:void(0);"><i class="fa-fw fas fa-list"></i><span> 菜单</span><i class="fas fa-chevron-down expand hide"></i></a><ul class="menus_item_child"><li><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></li><li><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></li><li><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></li><li><a class="site-page" href="/gallery/"><i class="fa-fw fas fa-camera"></i><span> 相册</span></a></li><li><a class="site-page" href="/sc/"><i class="fa-fw fas fa-key"></i><span> 每日诗词</span></a></li><li><a class="site-page" href="/wysp/"><i class="fa-fw fas fa-fire"></i><span> 网易热评</span></a></li></ul></div></div><span class="close" id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></span></span></nav><div id="post-info"><div id="post-title"><div class="posttitle">在？在？</div></div><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2020-06-26T11:49:22.000Z" title="发表于 2020-06-26 19:49:22">2020-06-26</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2020-09-28T10:44:31.396Z" title="更新于 2020-09-28 18:44:31">2020-09-28</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/Markdown/">Markdown</a></span></div><div class="meta-secondline"> <span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">字数总计:</span><span class="word-count">3.1k</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>14分钟</span></span><span class="post-meta-separator">|</span><span class="post-meta-pv-cv"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="busuanzi_value_page_pv"></span></span><span class="post-meta-separator">|</span><span class="post-meta-commentcount"><i class="far fa-comments fa-fw post-meta-icon"></i><span class="post-meta-label">评论数:</span><a href="/xindong.html#post-comment" itemprop="discussionUrl"><span class="valine-comment-count comment-count" data-xid="/xindong.html" itemprop="commentCount"></span></a></span></div></div></div></header><main class="layout_post" id="content-inner"><article id="post"><div class="post-content" id="article-container"><h2 id="😘今天喝了雪碧，吃了维生素b可还是忘不了你个傻碧。"><strong>😘今天喝了雪碧，吃了维生素b可还是忘不了你个傻碧。</strong></h2>
<h2 id="😝今天喝了脉动啊，割了动脉啊，然后一动不动了。"><strong>😝今天喝了脉动啊，割了动脉啊，然后一动不动了。</strong></h2>
<h2 id="🤞今天喝了脉动啊，吃了果冻啊，还是忍不住对你心动啊。"><strong>🤞今天喝了脉动啊，吃了果冻啊，还是忍不住对你心动啊。</strong></h2>
<h2 id="🎭歪不是吧今天看了智慧树哇吃了麦丽素哇但是还是忍不住把中指对你竖啊">🎭<strong>歪不是吧今天看了智慧树哇吃了麦丽素哇但是还是忍不住把中指对你竖啊.</strong></h2>
<p><img src="http://b374.photo.store.qq.com/psb?/V14NO2zx3ACx8B/IEvZ82cDztYIhZuD27Jl7aJ3fe49t2*FWlwuqae2v24!/b/dHYBAAAAAAAA&amp;bo=yADIAMgAyAABByA!&amp;rf=viewer_4" alt=""></p>
<p><img src="https://s1.ax1x.com/2020/06/28/N2bnXt.jpg" alt=""><br>
<img src="https://s1.ax1x.com/2020/06/23/NtnPaD.jpg" alt=""></p>
<p>This is my website, click the button <a class="btn-beautify button--animated " target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><span>JerryC</span></a><br>
This is my website, click the button <a class="btn-beautify button--animated " target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a><br>
This is my website, click the button <a class="btn-beautify button--animated outline" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><span>JerryC</span></a><br>
This is my website, click the button <a class="btn-beautify button--animated outline" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a><br>
This is my website, click the button <a class="btn-beautify button--animated larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a></p>
<p>This is my website, click the button <a class="btn-beautify button--animated " target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><span>JerryC</span></a><br>
This is my website, click the button <a class="btn-beautify button--animated " target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a><br>
This is my website, click the button <a class="btn-beautify button--animated outline" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><span>JerryC</span></a><br>
This is my website, click the button <a class="btn-beautify button--animated outline" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a><br>
This is my website, click the button <a class="btn-beautify button--animated larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a></p>
<a class="btn-beautify button--animated block" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated block center larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated block right outline larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated blue larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated pink larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated red larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated purple larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated orange larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated green larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<div class="btn-center">
<a class="btn-beautify button--animated outline larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated outline blue larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated outline pink larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated outline red larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated outline purple larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated outline orange larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
<a class="btn-beautify button--animated outline green larger" target="_blank" rel="noopener" href="http://www.jerryc.me" 
  title="JerryC"><i class="far fa-hand-point-right fa-fw"></i><span>JerryC</span></a>
</div>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br></pre></td><td class="code"><pre><span class="line">This is my website, click the button &#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC %&#125;</span><br><span class="line">This is my website, click the button &#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right %&#125;</span><br><span class="line">This is my website, click the button &#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,,outline %&#125;</span><br><span class="line">This is my website, click the button &#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,outline %&#125;</span><br><span class="line">This is my website, click the button &#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,larger %&#125;</span><br><span class="line"></span><br><span class="line"></span><br><span class="line">This is my website, click the button &#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC %&#125;</span><br><span class="line">This is my website, click the button &#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right %&#125;</span><br><span class="line">This is my website, click the button &#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,,outline %&#125;</span><br><span class="line">This is my website, click the button &#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,outline %&#125;</span><br><span class="line">This is my website, click the button &#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,larger %&#125;</span><br><span class="line"></span><br><span class="line"></span><br><span class="line"></span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,block %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,block center larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,block right outline larger %&#125;</span><br><span class="line"></span><br><span class="line"></span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,blue larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,pink larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,red larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,purple larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,orange larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,green larger %&#125;</span><br><span class="line"></span><br><span class="line"></span><br><span class="line">&lt;div class&#x3D;&quot;btn-center&quot;&gt;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,outline larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,outline blue larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,outline pink larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,outline red larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,outline purple larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,outline orange larger %&#125;</span><br><span class="line">&#123;% btn &#39;http:&#x2F;&#x2F;www.jerryc.me&#39;,JerryC,far fa-hand-point-right,outline green larger %&#125;</span><br><span class="line">&lt;&#x2F;div&gt;</span><br></pre></td></tr></table></figure>
<ol>
<li>你好！</li>
<li>看什么看</li>
<li>我很帅吗！！！</li>
</ol>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line">&lt;ol&gt;</span><br><span class="line">&lt;li&gt;你好！&lt;&#x2F;li&gt;</span><br><span class="line">&lt;li&gt;看什么看&lt;&#x2F;li&gt;</span><br><span class="line">&lt;li&gt;我很帅吗！！！&lt;&#x2F;li&gt;</span><br><span class="line">&lt;&#x2F;ol&gt;</span><br></pre></td></tr></table></figure>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br></pre></td><td class="code"><pre><span class="line">&#x2F;&#x2F; 你要镜像的网站.</span><br><span class="line">const upstream &#x3D; &#39;www.google.com&#39;</span><br><span class="line"></span><br><span class="line">&#x2F;&#x2F; 镜像网站的目录，比如你想镜像某个网站的二级目录则填写二级目录的目录名，镜像 google 用不到，默认即可.</span><br><span class="line">const upstream_path &#x3D; &#39;&#x2F;&#39;</span><br><span class="line"></span><br><span class="line">&#x2F;&#x2F; 镜像站是否有手机访问专用网址，没有则填一样的.</span><br><span class="line">const upstream_mobile &#x3D; &#39;www.google.com&#39;</span><br><span class="line"></span><br><span class="line">&#x2F;&#x2F; 屏蔽国家和地区.</span><br><span class="line">const blocked_region &#x3D; [&#39;KP&#39;, &#39;SY&#39;, &#39;PK&#39;, &#39;CU&#39;]</span><br><span class="line"></span><br><span class="line">&#x2F;&#x2F; 屏蔽 IP 地址.</span><br><span class="line">const blocked_ip_address &#x3D; [&#39;0.0.0.0&#39;, &#39;127.0.0.1&#39;]</span><br><span class="line"></span><br><span class="line">&#x2F;&#x2F; 镜像站是否开启 HTTPS.</span><br><span class="line">const https &#x3D; true</span><br><span class="line"></span><br><span class="line">&#x2F;&#x2F; 文本替换.</span><br><span class="line">const replace_dict &#x3D; &#123;</span><br><span class="line">    &#39;$upstream&#39;: &#39;$custom_domain&#39;,</span><br><span class="line">    &#39;&#x2F;&#x2F;google.com&#39;: &#39;&#39;</span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line">&#x2F;&#x2F; 以下保持默认，不要动</span><br><span class="line">addEventListener(&#39;fetch&#39;, event &#x3D;&gt; &#123;</span><br><span class="line">    event.respondWith(fetchAndApply(event.request));</span><br><span class="line">&#125;)</span><br><span class="line"></span><br><span class="line">async function fetchAndApply(request) &#123;</span><br><span class="line"></span><br><span class="line">    const region &#x3D; request.headers.get(&#39;cf-ipcountry&#39;).toUpperCase();</span><br><span class="line">    const ip_address &#x3D; request.headers.get(&#39;cf-connecting-ip&#39;);</span><br><span class="line">    const user_agent &#x3D; request.headers.get(&#39;user-agent&#39;);</span><br><span class="line"></span><br><span class="line">    let response &#x3D; null;</span><br><span class="line">    let url &#x3D; new URL(request.url);</span><br><span class="line">    let url_hostname &#x3D; url.hostname;</span><br><span class="line"></span><br><span class="line">    if (https &#x3D;&#x3D; true) &#123;</span><br><span class="line">        url.protocol &#x3D; &#39;https:&#39;;</span><br><span class="line">    &#125; else &#123;</span><br><span class="line">        url.protocol &#x3D; &#39;http:&#39;;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    if (await device_status(user_agent)) &#123;</span><br><span class="line">        var upstream_domain &#x3D; upstream;</span><br><span class="line">    &#125; else &#123;</span><br><span class="line">        var upstream_domain &#x3D; upstream_mobile;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    url.host &#x3D; upstream_domain;</span><br><span class="line">    if (url.pathname &#x3D;&#x3D; &#39;&#x2F;&#39;) &#123;</span><br><span class="line">        url.pathname &#x3D; upstream_path;</span><br><span class="line">    &#125; else &#123;</span><br><span class="line">        url.pathname &#x3D; upstream_path + url.pathname;</span><br><span class="line">    &#125;</span><br><span class="line"></span><br><span class="line">    if (blocked_region.includes(region)) &#123;</span><br><span class="line">        response &#x3D; new Response(&#39;Access denied: WorkersProxy is not available in your region yet.&#39;, &#123;</span><br><span class="line">            status: 403</span><br><span class="line">        &#125;);</span><br><span class="line">    &#125; else if (blocked_ip_address.includes(ip_address)) &#123;</span><br><span class="line">        response &#x3D; new Response(&#39;Access denied: Your IP address is blocked by WorkersProxy.&#39;, &#123;</span><br><span class="line">            status: 403</span><br><span class="line">        &#125;);</span><br><span class="line">    &#125; else &#123;</span><br><span class="line">        let method &#x3D; request.method;</span><br><span class="line">        let request_headers &#x3D; request.headers;</span><br><span class="line">        let new_request_headers &#x3D; new Headers(request_headers);</span><br><span class="line"></span><br><span class="line">        new_request_headers.set(&#39;Host&#39;, url.hostname);</span><br><span class="line">        new_request_headers.set(&#39;Referer&#39;, url.hostname);</span><br><span class="line"></span><br><span class="line">        let original_response &#x3D; await fetch(url.href, &#123;</span><br><span class="line">            method: method,</span><br><span class="line">            headers: new_request_headers</span><br><span class="line">        &#125;)</span><br><span class="line"></span><br><span class="line">        let original_response_clone &#x3D; original_response.clone();</span><br><span class="line">        let original_text &#x3D; null;</span><br><span class="line">        let response_headers &#x3D; original_response.headers;</span><br><span class="line">        let new_response_headers &#x3D; new Headers(response_headers);</span><br><span class="line">        let status &#x3D; original_response.status;</span><br><span class="line"></span><br><span class="line">        new_response_headers.set(&#39;access-control-allow-origin&#39;, &#39;*&#39;);</span><br><span class="line">        new_response_headers.set(&#39;access-control-allow-credentials&#39;, true);</span><br><span class="line">        new_response_headers.delete(&#39;content-security-policy&#39;);</span><br><span class="line">        new_response_headers.delete(&#39;content-security-policy-report-only&#39;);</span><br><span class="line">        new_response_headers.delete(&#39;clear-site-data&#39;);</span><br><span class="line"></span><br><span class="line">        const content_type &#x3D; new_response_headers.get(&#39;content-type&#39;);</span><br><span class="line">        if (content_type.includes(&#39;text&#x2F;html&#39;) &amp;&amp; content_type.includes(&#39;UTF-8&#39;)) &#123;</span><br><span class="line">            original_text &#x3D; </span><br><span class="line">              await replace_response_text(original_response_clone, upstream_domain, url_hostname);</span><br><span class="line">        &#125; else &#123;</span><br><span class="line">            original_text &#x3D; original_response_clone.body</span><br><span class="line">        &#125;</span><br><span class="line"></span><br><span class="line">        response &#x3D; new Response(original_text, &#123;</span><br><span class="line">            status,</span><br><span class="line">            headers: new_response_headers</span><br><span class="line">        &#125;)</span><br><span class="line">    &#125;</span><br><span class="line">    return response;</span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line">async function replace_response_text(response, upstream_domain, host_name) &#123;</span><br><span class="line">    let text &#x3D; await response.text()</span><br><span class="line"></span><br><span class="line">    var i, j;</span><br><span class="line">    for (i in replace_dict) &#123;</span><br><span class="line">        j &#x3D; replace_dict[i]</span><br><span class="line">        if (i &#x3D;&#x3D; &#39;$upstream&#39;) &#123;</span><br><span class="line">            i &#x3D; upstream_domain</span><br><span class="line">        &#125; else if (i &#x3D;&#x3D; &#39;$custom_domain&#39;) &#123;</span><br><span class="line">            i &#x3D; host_name</span><br><span class="line">        &#125;</span><br><span class="line"></span><br><span class="line">        if (j &#x3D;&#x3D; &#39;$upstream&#39;) &#123;</span><br><span class="line">            j &#x3D; upstream_domain</span><br><span class="line">        &#125; else if (j &#x3D;&#x3D; &#39;$custom_domain&#39;) &#123;</span><br><span class="line">            j &#x3D; host_name</span><br><span class="line">        &#125;</span><br><span class="line"></span><br><span class="line">        let re &#x3D; new RegExp(i, &#39;g&#39;)</span><br><span class="line">        text &#x3D; text.replace(re, j);</span><br><span class="line">    &#125;</span><br><span class="line">    return text;</span><br><span class="line">&#125;</span><br><span class="line"></span><br><span class="line"></span><br><span class="line">async function device_status(user_agent_info) &#123;</span><br><span class="line">    var agents &#x3D; [&quot;Android&quot;, &quot;iPhone&quot;, &quot;SymbianOS&quot;, &quot;Windows Phone&quot;, &quot;iPad&quot;, &quot;iPod&quot;];</span><br><span class="line">    var flag &#x3D; true;</span><br><span class="line">    for (var v &#x3D; 0; v &lt; agents.length; v++) &#123;</span><br><span class="line">        if (user_agent_info.indexOf(agents[v]) &gt; 0) &#123;</span><br><span class="line">            flag &#x3D; false;</span><br><span class="line">            break;</span><br><span class="line">        &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    return flag;</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<h2 id="Heroku-免费容器服务申请，搭建-V2-CF-方法教程">Heroku 免费容器服务申请，搭建 V2+CF 方法教程</h2>
<p>Heroku 是一个支持多种编程语言的云平台即服务，并且提供免费的容器服务（美国、欧洲节点），本文就以免费容器为例，搭建 V2 并配置 CF 加速，你懂得！<br>
注意：Heroku 有滥用危险，后果可能就是封禁账号哦！</p>
<p>一、配置Heroku<br>
1、首先注册Heroku账号，点击通过 <a target="_blank" rel="noopener" href="https://dashboard.heroku.com">https://dashboard.heroku.com</a>  注册一个账号，注册时候不能使用QQ邮箱：<br>
2、注册成功以后登录，登录以后点击 <a target="_blank" rel="noopener" href="https://dashboard.heroku.com/new?template=https%3A%2F%2Fgithub.com%2Fbclswl0827%2Fv2ray-heroku">我我我我</a>  部署应用！名称随便填写就行了，然后点击 Deploy app 系统会自动部署：</p>
<p>3、部署完成以后，点击 Settings 再点击 Reveal Config Vars 就可以看见 UUID了！记下自己的UUID等会还是用到：<br>
4、接着下滑，看见Domains项后有个域名！https://*****.herokuapp.com/ 记下域名，稍后配置CloudFlare 反向代理会用到：</p>
<p>二、配置CloudFlare反向代理<br>
1、首先登陆CloudFlare官网，然后点击 右侧的 Workers ：<br>
2、接着点击创建 Workers ：</p>
<p>3、接着复制下方代码，并添加进去！注意把下面的中文替换成你之前在Domains项看见的那个域名前缀：</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br></pre></td><td class="code"><pre><span class="line">addEventListener(</span><br><span class="line">  &quot;fetch&quot;,event &#x3D;&gt; &#123;</span><br><span class="line">     let url&#x3D;new URL(event.request.url);</span><br><span class="line">     url.hostname&#x3D;&quot;你的heroku域名.herokuapp.com&quot;;</span><br><span class="line">     let request&#x3D;new Request(url,event.request);</span><br><span class="line">     event. respondWith(</span><br><span class="line">       fetch(request)</span><br><span class="line">     )</span><br><span class="line">  &#125;</span><br><span class="line">)</span><br></pre></td></tr></table></figure>
<p>至此！CF就配置完成了，接下来开始配置V2客户端！</p>
<p>三、配置V2客户端<br>
1、配置客户端，请按照图片的要求设置，否则不能联网：<br>
<img src="https://cdn.jsdelivr.net/gh/Ysnsn/img@master/2020/09/12/17ac8e74b1f6de08a588540870fa1ccd.png" alt=""><br>
四、自选IP<br>
下载自选IP程序，然后windows系统运行即可，全自动化。</p>
<a class="btn-beautify button--animated outline pink larger" target="_blank" rel="noopener" href="https://ysnsn.herokuapp.com/yn/%E7%94%B5%E8%84%91%E8%BD%AF%E4%BB%B6/CF%E4%BC%98%E9%80%89%E8%8A%82%E7%82%B9fping-msys2.0.zip" 
  title="点我下载"><i class="fas fa-download fa-fw"></i><span>点我下载</span></a>
<p>4、实际效果图（稳定 3 -5W）</p>
<h2 id="使用自己的-Live2d-看板娘">使用自己的 Live2d 看板娘</h2>
<p>每次看别人博客或者网站的时候，别人网站都有好看的看板娘，即使安装了 helper-live2d 但提供的 Live2d 太少了<br>
那么如何使用自定义的 Live2d 呢？<br>
看网上很多教程都是乱七八糟的，看也看不懂，自己研究了一下，成功了！<br>
分享出来，让更多人少踩坑，这里我以紫罗兰永恒花园的薇尔莉特·伊芙加登小姐姐的 Live2d 模型作为演示，结束后会奉上几个好看的模型<br>
如果你有好看的模型可以与我分享 (好东西要学会分享)</p>
<p>使用 helper-live2d 的 Live2d 插件 <a target="_blank" rel="noopener" href="https://github.com/EYHN/hexo-helper-live2d">https://github.com/EYHN/hexo-helper-live2d</a></p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">npm install --save hexo-helper-live2d</span><br></pre></td></tr></table></figure>
<p>安装成功后，在 hexo 根目录的_config.yml 添加如下配置 (可以写在主题配置文件里)</p>
<p>基础配置</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># Live2D</span></span><br><span class="line"><span class="comment">## https://github.com/EYHN/hexo-helper-live2d</span></span><br><span class="line"><span class="attr">live2d:</span></span><br><span class="line">  <span class="attr">enable:</span> <span class="literal">true</span> <span class="comment"># 开启live2d</span></span><br><span class="line">  <span class="comment"># enable: false</span></span><br><span class="line">  <span class="attr">scriptFrom:</span> <span class="string">local</span> <span class="comment"># 默认</span></span><br><span class="line">  <span class="attr">pluginRootPath:</span> <span class="string">live2d/</span> <span class="comment"># 插件在站点上的根目录(相对路径)</span></span><br><span class="line">  <span class="attr">pluginJsPath:</span> <span class="string">lib/</span> <span class="comment"># 脚本文件相对与插件根目录路径</span></span><br><span class="line">  <span class="attr">pluginModelPath:</span> <span class="string">assets/</span> <span class="comment"># 模型文件相对与插件根目录路径</span></span><br><span class="line">  <span class="comment"># scriptFrom: jsdelivr # jsdelivr CDN</span></span><br><span class="line">  <span class="comment"># scriptFrom: unpkg # unpkg CDN</span></span><br><span class="line">  <span class="comment"># scriptFrom: https://cdn.jsdelivr.net/npm/live2d-widget@3.x/lib/L2Dwidget.min.js # 你的自定义 url</span></span><br><span class="line">  <span class="attr">tagMode:</span> <span class="literal">false</span> <span class="comment"># 标签模式, 是否仅替换 live2d tag标签而非插入到所有页面中</span></span><br><span class="line">  <span class="attr">debug:</span> <span class="literal">false</span> <span class="comment"># 调试, 是否在控制台输出日志</span></span><br><span class="line">  <span class="attr">model:</span></span><br><span class="line">    <span class="attr">use:</span> <span class="string">live2d-widget-model-wanko</span> <span class="comment"># npm-module package name</span></span><br><span class="line">    <span class="comment"># use: wanko # 博客根目录/live2d_models/ 下的目录名</span></span><br><span class="line">    <span class="comment"># use: ./wives/wanko # 相对于博客根目录的路径</span></span><br><span class="line">    <span class="comment"># use: https://cdn.jsdelivr.net/npm/live2d-widget-model-wanko@1.0.5/assets/wanko.model.json # 你的自定义 url</span></span><br></pre></td></tr></table></figure>
<p>进阶配置<br>
看如下配置在基础配置的基础上进行添加相应的配置</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">live2d:</span></span><br><span class="line">  <span class="attr">enable:</span> <span class="literal">true</span> <span class="comment"># 是否开启live2d</span></span><br><span class="line">  <span class="attr">scriptFrom:</span> <span class="string">local</span> <span class="comment">## 脚本从本地引入</span></span><br><span class="line">  <span class="attr">pluginRootPath:</span> <span class="string">live2dw/</span> <span class="comment"># 模型根目录(指hexo g后生成public\live2dw文件名)</span></span><br><span class="line">  <span class="attr">pluginJsPath:</span> <span class="string">lib/</span> <span class="comment"># 依赖js的文件夹名(public\live2dw\lib)</span></span><br><span class="line">  <span class="attr">pluginModelPath:</span> <span class="string">assets/</span> <span class="comment"># 模型存放目录(public\live2dw\assets)</span></span><br><span class="line">  <span class="attr">tagMode:</span> <span class="literal">false</span> <span class="comment"># 标记模式(未知) </span></span><br><span class="line">  <span class="attr">log:</span> <span class="literal">false</span> <span class="comment"># 日志</span></span><br><span class="line">  <span class="attr">model:</span> <span class="comment"># 模型</span></span><br><span class="line">    <span class="attr">use:</span> <span class="string">live2d-widget-model-wanko</span> <span class="comment"># 使用的模型名称</span></span><br><span class="line">  <span class="attr">display:</span> <span class="comment"># 显示</span></span><br><span class="line">    <span class="attr">position:</span> <span class="string">right</span> <span class="comment"># 显示在右边(left显示在左边)</span></span><br><span class="line">    <span class="attr">width:</span> <span class="number">150</span> <span class="comment"># 宽度</span></span><br><span class="line">    <span class="attr">height:</span> <span class="number">300</span> <span class="comment"># 高度</span></span><br><span class="line">  <span class="attr">mobile:</span></span><br><span class="line">    <span class="attr">show:</span> <span class="literal">true</span> <span class="comment"># 手机端是否显示</span></span><br><span class="line">  <span class="attr">react:</span></span><br><span class="line">    <span class="attr">opacity:</span> <span class="number">0.7</span> <span class="comment"># 透明度</span></span><br></pre></td></tr></table></figure>
<p>下面是我在基础配置的基础上添加的几个属性</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br></pre></td><td class="code"><pre><span class="line"># Live2D</span><br><span class="line">## https:&#x2F;&#x2F;github.com&#x2F;EYHN&#x2F;hexo-helper-live2d</span><br><span class="line">live2d:</span><br><span class="line">  enable: true # 开启live2d</span><br><span class="line">  # enable: false</span><br><span class="line">  scriptFrom: local # 默认</span><br><span class="line">  pluginRootPath: live2d&#x2F; # 插件在站点上的根目录(相对路径)</span><br><span class="line">  pluginJsPath: lib&#x2F; # 脚本文件相对与插件根目录路径</span><br><span class="line">  pluginModelPath: assets&#x2F; # 模型文件相对与插件根目录路径</span><br><span class="line">  # scriptFrom: jsdelivr # jsdelivr CDN</span><br><span class="line">  # scriptFrom: unpkg # unpkg CDN</span><br><span class="line">  # scriptFrom: https:&#x2F;&#x2F;cdn.jsdelivr.net&#x2F;npm&#x2F;live2d-widget@3.x&#x2F;lib&#x2F;L2Dwidget.min.js # 你的自定义 url</span><br><span class="line">  tagMode: false # 标签模式, 是否仅替换 live2d tag标签而非插入到所有页面中</span><br><span class="line">  debug: false # 调试, 是否在控制台输出日志</span><br><span class="line">  display:</span><br><span class="line">     position: left</span><br><span class="line">  mobile:</span><br><span class="line">     show: false   </span><br><span class="line">  model:</span><br><span class="line">     scale: 1.2</span><br><span class="line">     use: weier</span><br></pre></td></tr></table></figure>
<p>高级配置<br>
建议小白可以不必理会，高玩请随意，官方 API 地址：<a target="_blank" rel="noopener" href="https://l2dwidget.js.org/docs/class/src/index.js~L2Dwidget.html#instance-method-init">L2Dwidget | live2d-widget.js</a></p>
<p>使用模型<br>
自定义模型<br>
使用自己下载好的模型<br>
在 hexo 根目录新建 live2d_models 文件夹，然后把模型放进去，最后在 live2d 配置里的 model: 下的 use: 输入模型文件夹名<br>
在我提供的 live2d 的压缩包里有几个模型，这里我以薇尔莉特·伊芙加登进行演示</p>
<p>将薇尔莉特·伊芙加登复制到刚从新建的 live2d_models 文件夹内，然后重命名为 weier(当然这个名字是你自定义的)，然后进入 weier 文件夹，里面有个 14.json 文件，将他重命名为 weier.model.json 其他文件无需修改，最后在 live2d 配置里的 model: 下的 use: 输入模型文件夹名 (weier)</p>
<figure class="highlight yml"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br></pre></td><td class="code"><pre><span class="line"><span class="attr">model:</span></span><br><span class="line">     <span class="attr">use:</span> <span class="string">weier</span></span><br></pre></td></tr></table></figure>
<p>使用 npm install {packagename} 安装模型如下</p>
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">npm install live2d-widget-model-wanko</span><br></pre></td></tr></table></figure>
<p>目前有如下模型模型样式</p>
<figure class="highlight plain"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br></pre></td><td class="code"><pre><span class="line">live2d-widget-model-chitose</span><br><span class="line">live2d-widget-model-epsilon2_1</span><br><span class="line">live2d-widget-model-gf</span><br><span class="line">live2d-widget-model-haru&#x2F;01 (use npm install --save live2d-widget-model-haru)</span><br><span class="line">live2d-widget-model-haru&#x2F;02 (use npm install --save live2d-widget-model-haru)</span><br><span class="line">live2d-widget-model-haruto</span><br><span class="line">live2d-widget-model-hibiki</span><br><span class="line">live2d-widget-model-hijiki</span><br><span class="line">live2d-widget-model-izumi</span><br><span class="line">live2d-widget-model-koharu</span><br><span class="line">live2d-widget-model-miku</span><br><span class="line">live2d-widget-model-ni-j</span><br><span class="line">live2d-widget-model-nico</span><br><span class="line">live2d-widget-model-nietzsche</span><br><span class="line">live2d-widget-model-nipsilon</span><br><span class="line">live2d-widget-model-nito</span><br><span class="line">live2d-widget-model-shizuku</span><br><span class="line">live2d-widget-model-tororo</span><br><span class="line">live2d-widget-model-tsumiki</span><br><span class="line">live2d-widget-model-unitychan</span><br><span class="line">live2d-widget-model-wanko</span><br><span class="line">live2d-widget-model-z16</span><br></pre></td></tr></table></figure>
<p>模型下载地址</p>
<div class="btn-center">
<a class="btn-beautify button--animated outline pink larger" target="_blank" rel="noopener" href="https://656e-env-jxscvzag-1301289878.tcb.qcloud.la/live2dModel.zip" 
  title="点我下载"><i class="fas fa-download fa-fw"></i><span>点我下载</span></a>
</div>
</div><div class="post-copyright"><div class="post-copyright__author"><span class="post-copyright-meta">文章作者: </span><span class="post-copyright-info"><a href="mailto:undefined">可爱的Wyang</a></span></div><div class="post-copyright__type"><span class="post-copyright-meta">文章链接: </span><span class="post-copyright-info"><a href="https://ysnsn.cn/xindong.html">https://ysnsn.cn/xindong.html</a></span></div><div class="post-copyright__notice"><span class="post-copyright-meta">版权声明: </span><span class="post-copyright-info">本博客所有文章除特别声明外，均采用 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">CC BY-NC-SA 4.0</a> 许可协议。转载请注明来自 <a href="https://ysnsn.cn" target="_blank">Ysnsn博客</a>！</span></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/Markdown/">Markdown</a><a class="post-meta__tags" href="/tags/Typora/">Typora</a></div><div class="post_share"><div class="social-share" data-image="https://acg.yanwz.cn/wallpaper/api.php" data-sites="facebook,twitter,wechat,weibo,qq"></div><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css"><script src="https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js" defer></script></div></div><div class="post-reward"><div class="reward-button"><i class="fas fa-qrcode"></i> 打赏<div class="reward-main"><ul class="reward-all"><li class="reward-item"><a href="/img/wechat.jpg" target="_blank"><img class="post-qr-code-img" src="/img/wechat.jpg" alt="微信"/></a><div class="post-qr-code-desc">微信</div></li><li class="reward-item"><a href="/img/alipay.jpg" target="_blank"><img class="post-qr-code-img" src="/img/alipay.jpg" alt="支付宝"/></a><div class="post-qr-code-desc">支付宝</div></li><li class="reward-item"><a href="/img/qq.jpg" target="_blank"><img class="post-qr-code-img" src="/img/qq.jpg" alt="QQ"/></a><div class="post-qr-code-desc">QQ</div></li></ul></div></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-full"><a href="/markdown.html"><img class="prev-cover" src="http://imageproxy.chaoxing.com/0x0,q15,jpeg,sv3q6pFiurnSnP7_VsCbAG0pSDxMz0mqVDhUM_uMenjs/http://p.ananas.chaoxing.com/star3/origin/fba7d3fadab6021a0609aed0a97defd3.png" onerror="onerror=null;src='/img/404.jpg'"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">markdown语法</div></div></a></div></nav><div class="relatedPosts"><div class="headline"><i class="fas fa-thumbs-up fa-fw"></i><span> 相关推荐</span></div><div class="relatedPosts-list"><div><a href="/markdown.html" title="markdown语法"><img class="cover" src="http://imageproxy.chaoxing.com/0x0,q15,jpeg,sv3q6pFiurnSnP7_VsCbAG0pSDxMz0mqVDhUM_uMenjs/http://p.ananas.chaoxing.com/star3/origin/fba7d3fadab6021a0609aed0a97defd3.png"><div class="content is-center"><div class="date"><i class="far fa-calendar-alt fa-fw"></i> 2020-07-20</div><div class="title">markdown语法</div></div></a></div></div></div><hr/><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div class="vcomment" id="vcomment"></div></div></div></div></article></main><footer id="footer" style="background-image: url(https://acg.yanwz.cn/wallpaper/api.php)"><div id="footer-wrap"><div class="copyright">&copy;2020 By 可爱的Wyang</div><div class="framework-info"><span>框架 </span><a target="_blank" rel="noopener" href="https://hexo.io">Hexo</a><span class="footer-separator">|</span><span>主题 </span><a target="_blank" rel="noopener" href="https://github.com/jerryc127/hexo-theme-butterfly">Butterfly</a></div><div class="footer_custom_text">相信自己，一往无前</div><div class="icp"><a target="_blank" rel="noopener" href="https://icp.gov.moe/join.html"><img class="icp-icon" src="/img/icp.png"/><span>萌ICP备20201314号</span></a></div><div id="running-time"></div><script>setInterval(()=>{let create_time=Math.round(new Date(Date.UTC(2020,06,23,0,0,0)).getTime()/1000);let timestamp=Math.round((new Date().getTime()+8*60*60*1000)/1000);let second=timestamp-create_time;let time=new Array(0,0,0,0,0);if(second>=365*24*3600){time[0]=parseInt(second/(365*24*3600));second%=365*24*3600;}if(second>=24*3600){time[1]=parseInt(second/(24*3600));second%=24*3600;}if(second>=3600){time[2]=parseInt(second/3600);second%=3600;}if(second>=60){time[3]=parseInt(second/60);second%=60;}if(second>0){time[4]=second;}currentTimeHtml='🌈本站已安全运行 '+time[0]+' 年 '+time[1]+' 天 '+time[2]+' 时 '+time[3]+' 分 '+time[4]+' 秒';document.getElementById("running-time").innerHTML=currentTimeHtml;},1000);</script></div></footer></div><section id="rightside"><div id="rightside-config-hide"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">繁</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button></div><div id="rightside-config-show"><button id="rightside_config" type="button" title="设置"><i class="fas fa-cog"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><button id="go-up" type="button" title="回到顶部"><i class="fas fa-arrow-up"></i></button></div></section><div class="search-dialog" id="local-search"><div class="search-dialog__title" id="local-search-title">本地搜索</div><div id="local-input-panel"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"/></div></div></div><hr/><div id="local-search-results"><div id="local-hits"></div><div id="local-stats"><div class="local-search-stats__hr" id="hr"><span>由</span> <a target="_blank" rel="noopener" href="https://github.com/wzpan/hexo-generator-search" style="color:#49B1F5;">hexo-generator-search</a>
 <span>提供支持</span></div></div></div><span class="search-close-button"><i class="fas fa-times"></i></span></div><div id="search-mask"></div><div><script src="https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js"></script><script src="https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js"></script><script src="/js/search/local-search.js"></script><div class="js-pjax"><script>function loadValine () {
  function initValine () {
    window.valine = new Valine({
      el: '#vcomment',
      master:'09baf6c84634876ef43dfb5b5e7527cd',
      friends:'0fa72164d542c33924ec89694aad4616,ad10871ff24424bf880b4cbbde9e0c6b',
      appId: 'pE6fuMFtYcEgYTceSY23YlFs-MdYXbMMI',
      appKey: 'GwiyT9FTAXYmRfkn24oywXtu',
      placeholder: '🤳昵称框输入QQ号自动获取QQ图像 \n🚩使用Akismet反垃圾评论 \n🌈支持md语法，请尽情表演吧 \n🛴邮件通知时间为8点到24点',
      avatar: 'monsterid',
      meta: 'nick,mail,link'.split(','),
      pageSize: '10',
      lang: 'zh-CN',
      recordIP: true,
      serverURLs: '',
      emojiCDN: '',
      emojiMaps: "",
      enableQQ: true,
      path: window.location.pathname,
    });
    if ('nick,mail') { valine.config.requiredFields= 'nick,mail'.split(',') }
  }

  if (typeof Valine === 'function') initValine() 
  else $.getScript('https://cdn.jsdelivr.net/gh/lete114/CDN2/js/Valine-Lete3.2.js', initValine)
}

if ('Valine' === 'Valine' || !false) {
  if (false) btf.loadComment(document.querySelector('#vcomment'),loadValine)
  else setTimeout(() => loadValine(), 0)
} else {
  function loadOtherComment () {
    loadValine()
  }
}</script><script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div><script src="https://cdn.jsdelivr.net/npm/blueimp-md5@2.17.0/js/md5.min.js"></script><script>window.addEventListener('load', () => {
  const changeContent = (content) => {
    if (content === '') return content

    content = content.replace(/<[^>]+>/g,"") // remove html tag
    content = content.replace(/(http(s?):)([/|.|\w|\s|-])*\.(?:jpg|jpeg|gif|png|webp)/g, '') // remove image link
    content = content.replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi, '') // remove url

    if (content.length > 150) {
      content = content.substring(0,150) + '...'
    }
    return content
  }

  const getIcon = (icon, mail) => {
    if (icon) return icon 
    let defaultIcon = ''
    let iconUrl = `https://gravatar.loli.net/avatar/${md5(mail.toLowerCase()) + defaultIcon}`
    return iconUrl
  }

  const generateHtml = array => {
    let result = ''

    for (let i = 0; i < array.length; i++) {
      result += '<div class=\'aside-list-item\'>'

      if (true) {
        result += `<a href='${array[i].url}' class="thumbnail"><img src='${getIcon(array[i].avatar, array[i].mail)}' alt='${array[i].nick}'></a>`
      }

      result += `<div class='content'>
      <a class='comment' href='${array[i].url}'>${array[i].content}</a>
      <div class='name'><span>${array[i].nick}</span><time> / ${btf.diffDate(array[i].date, true)}</time></div>
      </div></div>`
    }

    let $dom = document.querySelector('#card-newest-comments .aside-list')
    $dom.innerHTML= result
    window.pjax && window.pjax.refresh($dom)
  }

  const getValineData = () => {
      let serverURL = ''
      if (false) {
        serverURL = ''
      } else {
        serverURL = 'https://pE6fuMFt.api.lncldglobal.com'
      }

    var settings = {
      "url": `${serverURL}/1.1/classes/Comment?limit=6&order=-createdAt`,
      "method": "GET",
      "timeout": 0,
      "headers": {
        "X-LC-Id": 'pE6fuMFtYcEgYTceSY23YlFs-MdYXbMMI',
        "X-LC-Key": 'GwiyT9FTAXYmRfkn24oywXtu',
        "Content-Type": "application/json"
      },
    }

    $.ajax(settings).done((response) => {
      var valineArray = []
      response.results.forEach((e)=>{
        valineArray.push({
          'avatar': e.QQAvatar,
          'content': changeContent(e.comment),
          'mail': e.mail,
          'nick': e.nick,
          'url': e.url,
          'date': e.createdAt,
        })
      })
      
      saveToLocal.set('leancloud-newest-comments', JSON.stringify(valineArray), 10/(60*24))
      generateHtml(valineArray)

    }).fail(()=>{
      const $dom = document.querySelector('#card-newest-comments .aside-list')
      $dom.innerHTML= "无法获取资料，请确认相关配置是否正确"
    })
  }

  const newestCommentInit = () => {
    if (document.querySelector('#card-newest-comments .aside-list')) {
      const data = saveToLocal.get('leancloud-newest-comments')
      if (data) {
        generateHtml(JSON.parse(data))
      } else {
        getValineData()
      }
    }
  }

  newestCommentInit()
  document.addEventListener('pjax:complete', newestCommentInit)
})</script><script src="https://myhkw.cn/player/js/player.js" id="myhk" key="159585720839" m="1"></script><link rel="stylesheet" href="/css/ysnsn.css"><script src="/js/ysnsn.js"></script><script src="https://cdn.jsdelivr.net/gh/sviptzk/HexoStaticFile@latest/Hexo/js/mouse_snow.min.js"></script><script src="https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/activate-power-mode.min.js"></script><script>POWERMODE.colorful = true;
POWERMODE.shake = true;
POWERMODE.mobile = true;
document.body.addEventListener('input', POWERMODE);
</script><script src="https://cdn.jsdelivr.net/npm/pjax/pjax.min.js"></script><script>let pjaxSelectors = [
  'title',
  '#config_change',
  '#body-wrap',
  '#rightside-config-hide',
  '#rightside-config-show',
  '.js-pjax'
]

if (false) {
  pjaxSelectors.unshift('meta[property="og:image"]', 'meta[property="og:title"]', 'meta[property="og:url"]')
}

var pjax = new Pjax({
  elements: 'a:not([target="_blank"])',
  selectors: pjaxSelectors,
  cacheBust: false,
  analytics: false,
  scrollRestoration: false
})

document.addEventListener('pjax:complete', function () {
  window.refreshFn()

  $('script[data-pjax]').each(function () {
    $(this).parent().append($(this).remove())
  })

  GLOBAL_CONFIG.islazyload && window.lazyLoadInstance.update()

  typeof chatBtnFn === 'function' && chatBtnFn()
  typeof panguInit === 'function' && panguInit()

  if (typeof gtag === 'function') {
    gtag('config', '', {'page_path': window.location.pathname});
  }

  typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()

  // Analytics
  if (false) {
    MtaH5.pgv()
  }

  // prismjs
  typeof Prism === 'object' && Prism.highlightAll()

  typeof preloader === 'object' && preloader.endLoading()
})


document.addEventListener('pjax:send', function () {
  typeof preloader === 'object' && preloader.initLoading()
  
  if (window.aplayers) {
    for (let i = 0; i < window.aplayers.length; i++) {
      if (!window.aplayers[i].options.fixed) {
        window.aplayers[i].destroy()
      }
    }
  }

  typeof typed === 'object' && typed.destroy()

  $(window).off('scroll')

  //reset readmode
  $('body').hasClass('read-mode') && $('body').removeClass('read-mode')

})</script></div><script src="/live2d/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"pluginRootPath":"live2d/","pluginJsPath":"lib/","pluginModelPath":"assets/","tagMode":false,"debug":false,"display":{"position":"left"},"mobile":{"show":false},"model":{"scale":1.2,"jsonPath":"/live2d/assets/weier.model.json"},"log":false});</script></body></html>